package com.rm.zeyou.util.websocket.server.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.util.Date;

/**
 * WebSocket 消息VO
 *
 * @Author ZhangKeChen
 * @Date 2022/10/27
 * @Description
 */
@Data
@JsonInclude(value = JsonInclude.Include.NON_NULL)
public class MessageVo {
    //消息类型 0：后台订单提醒  1：后台订单异常  2：技师求救sos  3：技师待接单 4：技师服务待结束
    private Integer type;
    //订单号
    private String orderNo;
    //通知时间
    private Date notifyTime;
    //通知内容
    private String message;

    private String voiceUrl;

    //技师求救 技师姓名
    private String technicianName;
    //技师求救 技师电话
    private String technicianTel;

    private long timestamp = System.currentTimeMillis();
    private long timestampOrder = System.currentTimeMillis();

}
